.dot {
    display: inline-block;
    height: 1em;
    margin: 0 auto;
    overflow: hidden;
    line-height: 1em;
    text-align: center;
    vertical-align: -0.25em;
}

.dot::before {
    display: block;
    white-space: pre-wrap;
    content: '...\A..\A.';
    animation: dot 3s infinite step-start both;
}

@keyframes dot {
    33% {
        transform: translateY(-2em);
    }

    66% {
        transform: translateY(-1em);
    }
}
